/**
 * <b>项目名：</b>ht-web<br/>  
 * <b>包名：</b>com.flea.hclv.util<br/>  
 * <b>文件名：</b>DoMain.java<br/>  
 * <b>版本信息：</b>1.0<br/>  
 * <b>日期：</b>2019年9月5日 上午9:13:11<br/>  
 * <b>COPYRIGHT 2010-2012 ALL RIGHTS RESERVED 虫子科技</b>-版权所有<br/>
 */
package com.flea.hclv.util;

import java.util.List;

/**
 * @description TODO
 * @createTime 2019年9月5日 上午9:13:11
 * @modifyTime 
 * @author myflea@163.com
 * @version 1.0
 */
public class DoMain {
	private static final String AAS[] =  {"A","B","C","D","E","F","G","H","I","J","K","L","M","N","O","P","Q","R","S","T","U","V","W","X","Y","Z"};
	public static void main(String[] args) {
		
		for (int i = 0; i < AAS.length; i++) {
			for (int j = 0; j < 10; j++) {
				String ss = AAS[i]+autoGenericCode(String.valueOf(j),3);
				 System.out.println(ss);
			}
			
		}
		
		
	}
	
	/**
     * 不够位数的在前面补0，保留num的长度位数字
     * @param code
     * @return
     */
    private static String autoGenericCode(String code, int num) {
        String result = "";
        // 保留num的位数
        // 0 代表前面补充0     
        // num 代表长度为4     
        // d 代表参数为正数型 
        result = String.format("%0" + num + "d", Integer.parseInt(code) + 1);
       

        return result;
    }

}
